import yogi_tools


def print_hi(name):
    print(f'Hi, {name}')  # Press Ctrl+F8 to toggle the breakpoint.


if __name__ == '__main__':
    yogi_tools.write_ini('task', 'run_start_time', 'xxxx1')
    yogi_tools.write_ini('task', 'run_end_time', 'xxxx2')

    value1 = yogi_tools.read_ini('task', 'run_start_time')
    print(value1)
    value2 = yogi_tools.read_ini('task', 'run_end_time')
    print(value2)

    yogi_tools.write_ini('task', 'run_start_time', 'yyy1')
    yogi_tools.write_ini('task', 'run_end_time', 'yyy2')

    value1 = yogi_tools.read_ini('task', 'run_start_time')
    print(value1)
    value2 = yogi_tools.read_ini('task', 'run_end_time')
    print(value2)

    print_hi('PyCharm')
